From: Thomas Graf Date: Thu, 6 Jul 2006 03:45:57 +0000 (-0700) Subject: [PKT_SCHED]: Return ENOENT if action module is unavailable X-Git-Tag: archive/raspbian/4.9.13-1+rpi1~10^2~42767^2~1 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=d152b4e1e9a18f332ecd9e66492d706edc083345;p=linux-4.9.git [PKT_SCHED]: Return ENOENT if action module is unavailable Signed-off-by: Thomas Graf Signed-off-by: David S. Miller --- diff --git a/net/sched/act_api.c b/net/sched/act_api.c index f9d1d78e17f8..9b2e3975be0b 100644 --- a/net/sched/act_api.c +++ b/net/sched/act_api.c @@ -305,6 +305,7 @@ struct tc_action *tcf_action_init_1(struct rtattr *rta, struct rtattr *est, goto err_mod; } #endif + *err = -ENOENT; goto err_out; }